import request from '@/utils/request'
// import Qs from 'qs'
let service_module="/payment-cloud-order"
export function listOrder(data) {
  return request({
    url: `/api/order/queryOrderInfo?current=${data.current}&size=${data.size}`,
    method: 'post',
    data,
    service_module,
    // paramsSerializer: function(params) {
    //   return Qs.stringify(params, { arrayFormat: 'repeat' })
    // }
  })
}

export function detailOrder(id) {
  return request({
    url: `/api/order/getOrderDetails?id=${id}`,
    method: 'get',
    // params: query,
    service_module,
  })
}

